<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>console.interactive.InteractiveShell._HelpCommand</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="console-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/console/">console</a></th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="console-module.html">Package&nbsp;console</a> ::
        <a href="console.interactive-module.html">Module&nbsp;interactive</a> ::
        <a href="console.interactive.InteractiveShell-class.html">Class&nbsp;InteractiveShell</a> ::
        Class&nbsp;_HelpCommand
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="console.interactive.InteractiveShell._HelpCommand-class.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== CLASS DESCRIPTION ==================== -->
<h1 class="epydoc">Class _HelpCommand</h1><p class="nomargin-top"><span class="codelink"><a href="console.interactive-pysrc.html#InteractiveShell._HelpCommand">source&nbsp;code</a></span></p>
<center>
<center>  <map id="uml_class_diagram_for_console__5" name="uml_class_diagram_for_console__5">
<area shape="rect" href="console.interactive.InteractiveCommand-class.html" title="Base class for all commands to be added to the Interactive Shell." alt="" coords="59,11,179,43"/>
<area shape="rect" href="console.interactive.InteractiveShell._HelpCommand-class.html#commands" title="A dictionary of available commands, bound to InteractiveShell.commands" alt="" coords="17,89,220,108"/>
<area shape="rect" href="console.interactive.InteractiveShell._HelpCommand-class.html#__init__" title="Constructor function for _HelpCommand." alt="" coords="17,111,220,129"/>
<area shape="rect" href="console.interactive.InteractiveShell._HelpCommand-class.html#get_name" title="Getter method for the name of the command&#45; by implementing this method, you will set the command name utilized by InteractiveShell." alt="" coords="17,129,220,148"/>
<area shape="rect" href="console.interactive.InteractiveShell._HelpCommand-class.html#get_options" title="Getter method for the options that manipulate the execution of the command." alt="" coords="17,148,220,167"/>
<area shape="rect" href="console.interactive.InteractiveShell._HelpCommand-class.html#handle_command" title="Prints a list of available commands and their descriptions if no argument &#160;is provided." alt="" coords="17,167,220,185"/>
<area shape="rect" href="console.interactive.InteractiveShell._HelpCommand-class.html#do_command_summary" title="If no command is given to display help text for specifically, then this &#160;helper method is called to print out a list of the available commands and &#160;their descriptions." alt="" coords="17,185,220,204"/>
<area shape="rect" href="console.interactive.InteractiveShell._HelpCommand-class.html#get_short_description" title="Getter method for the short description of the command." alt="" coords="17,204,220,223"/>
<area shape="rect" href="console.interactive.InteractiveShell._HelpCommand-class.html#get_help_message" title="Getter method for the usage and instruction of using a command." alt="" coords="17,223,220,241"/>
<area shape="rect" href="console.interactive.InteractiveShell._HelpCommand-class.html" title="Prints a list of available commands and their descriptions, or the help text of a specific command." alt="" coords="16,72,221,243"/>
</map>
  <img src="uml_class_diagram_for_console__5.gif" alt='' usemap="#uml_class_diagram_for_console__5" ismap="ismap" class="graph-without-title" />
</center>
</center>
<hr />
<p>Prints a list of available commands and their descriptions, or the 
  help text of a specific command. Requires a list of the available 
  commands in order to display text for them.</p>

<!-- ==================== INSTANCE METHODS ==================== -->
<a name="section-InstanceMethods"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Methods</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceMethods"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="console.interactive.InteractiveShell._HelpCommand-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">commands</span>)</span><br />
      Constructor function for <a 
      href="console.interactive.InteractiveShell._HelpCommand-class.html" 
      class="link" onclick="show_private();">_HelpCommand</a>.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="console.interactive-pysrc.html#InteractiveShell._HelpCommand.__init__">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type"><code>str</code></span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="console.interactive.InteractiveShell._HelpCommand-class.html#get_name" class="summary-sig-name">get_name</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Getter method for the name of the command- by implementing this 
      method, you will set the command name utilized by <a 
      href="console.interactive.InteractiveShell-class.html" 
      class="link">InteractiveShell</a>.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="console.interactive-pysrc.html#InteractiveShell._HelpCommand.get_name">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type"><code>dict</code></span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="console.interactive.InteractiveShell._HelpCommand-class.html#get_options" class="summary-sig-name">get_options</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Getter method for the options that manipulate the execution of the 
      command.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="console.interactive-pysrc.html#InteractiveShell._HelpCommand.get_options">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">None</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="console.interactive.InteractiveShell._HelpCommand-class.html#handle_command" class="summary-sig-name">handle_command</a>(<span class="summary-sig-arg">self</span>,
        <span class="summary-sig-arg">opts</span>,
        <span class="summary-sig-arg">args</span>)</span><br />
      Prints a list of available commands and their descriptions if no 
      argument is provided.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="console.interactive-pysrc.html#InteractiveShell._HelpCommand.handle_command">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type"><code>None</code></span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="console.interactive.InteractiveShell._HelpCommand-class.html#do_command_summary" class="summary-sig-name">do_command_summary</a>(<span class="summary-sig-arg">self</span>)</span><br />
      If no command is given to display help text for specifically, then 
      this helper method is called to print out a list of the available 
      commands and their descriptions.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="console.interactive-pysrc.html#InteractiveShell._HelpCommand.do_command_summary">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type"><code>str</code></span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="console.interactive.InteractiveShell._HelpCommand-class.html#get_short_description" class="summary-sig-name">get_short_description</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Getter method for the short description of the command.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="console.interactive-pysrc.html#InteractiveShell._HelpCommand.get_short_description">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type"><code>docstr</code></span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="console.interactive.InteractiveShell._HelpCommand-class.html#get_help_message" class="summary-sig-name">get_help_message</a>(<span class="summary-sig-arg">self</span>)</span><br />
      Getter method for the usage and instruction of using a command.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="console.interactive-pysrc.html#InteractiveShell._HelpCommand.get_help_message">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<!-- ==================== INSTANCE VARIABLES ==================== -->
<a name="section-InstanceVariables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Instance Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-InstanceVariables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type"><code>dict</code></span>
    </td><td class="summary">
        <a name="commands"></a><span class="summary-name">commands</span><br />
      A dictionary of available commands, bound to <a 
      href="console.interactive.InteractiveShell-class.html#commands" 
      class="link">InteractiveShell.commands</a>
    </td>
  </tr>
</table>
<!-- ==================== METHOD DETAILS ==================== -->
<a name="section-MethodDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Method Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-MethodDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="__init__"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">commands</span>)</span>
    <br /><em class="fname">(Constructor)</em>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="console.interactive-pysrc.html#InteractiveShell._HelpCommand.__init__">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Constructor function for <a 
  href="console.interactive.InteractiveShell._HelpCommand-class.html" 
  class="link" onclick="show_private();">_HelpCommand</a>.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>commands</code></strong> (<code>dict</code>) - A dictionary of available commands, usually <a 
          href="console.interactive.InteractiveShell-class.html#commands" 
          class="link">InteractiveShell.commands</a></li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="get_name"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_name</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="console.interactive-pysrc.html#InteractiveShell._HelpCommand.get_name">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Getter method for the name of the command- by implementing this 
  method, you will set the command name utilized by <a 
  href="console.interactive.InteractiveShell-class.html" 
  class="link">InteractiveShell</a>. This prevents use of a named attribute
  for the class.</p>
  <p>Usage: <code>return 'name'</code></p>
  <dl class="fields">
    <dt>Returns: <code>str</code></dt>
        <dd>The name of the command</dd>
    <dt>Overrides:
        <a href="console.interactive.InteractiveCommand-class.html#get_name">InteractiveCommand.get_name</a>
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="get_options"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_options</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="console.interactive-pysrc.html#InteractiveShell._HelpCommand.get_options">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Getter method for the options that manipulate the execution of the 
  command. By implementing this method you will set the options of the 
  command that are parsed by the interpreter.</p>
  <p>The options dictionary is constructed with the name of the option (the
  longopt format is the default) as the key. If the option is a flag or 
  required, then set the value to <code>None</code>, else, set it to the 
  default value. If the option takes an argument, ensure '=' is appended to
  the option name.</p>
  <p>Usage: <code>return {'opt1': None, 'opt2=': 'default', 'required=': 
  None}</code></p>
  <dl class="fields">
    <dt>Returns: <code>dict</code></dt>
        <dd>The options dictionary, constructed as described above.</dd>
    <dt>Overrides:
        <a href="console.interactive.InteractiveCommand-class.html#get_options">InteractiveCommand.get_options</a>
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="handle_command"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">handle_command</span>(<span class="sig-arg">self</span>,
        <span class="sig-arg">opts</span>,
        <span class="sig-arg">args</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="console.interactive-pysrc.html#InteractiveShell._HelpCommand.handle_command">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Prints a list of available commands and their descriptions if no 
  argument is provided. Otherwise, prints the help text of the named 
  argument that represents a command. Does not throw an error if the named 
  argument doesn't exist in commands, simply prints a warning.</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>opts</code></strong> (<code>dict</code>) - Will be an empty dictionary</li>
        <li><strong class="pname"><code>args</code></strong> (<code>str</code>) - The raw string passed to the command, either a command or nothing</li>
    </ul></dd>
    <dt>Returns: None</dt>
        <dd>Returns nothing, sends messages to stdout</dd>
    <dt>Overrides:
        <a href="console.interactive.InteractiveCommand-class.html#handle_command">InteractiveCommand.handle_command</a>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="do_command_summary"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">do_command_summary</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="console.interactive-pysrc.html#InteractiveShell._HelpCommand.do_command_summary">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>If no command is given to display help text for specifically, then 
  this helper method is called to print out a list of the available 
  commands and their descriptions. Iterates over the list of commands, and 
  gets their summary from <a 
  href="console.interactive.InteractiveCommand-class.html#get_short_description"
  class="link">InteractiveCommand.get_short_description</a></p>
  <dl class="fields">
    <dt>Returns: <code>None</code></dt>
        <dd>Returns nothing, sends messages to stdout</dd>
  </dl>
</td></tr></table>
</div>
<a name="get_short_description"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_short_description</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="console.interactive-pysrc.html#InteractiveShell._HelpCommand.get_short_description">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Getter method for the short description of the command. Usually just a
  brief sentence about what the command will do, and what it expects.</p>
  <dl class="fields">
    <dt>Returns: <code>str</code></dt>
        <dd>A short description of the command and what it does</dd>
    <dt>Overrides:
        <a href="console.interactive.InteractiveCommand-class.html#get_short_description">InteractiveCommand.get_short_description</a>
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<a name="get_help_message"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">get_help_message</span>(<span class="sig-arg">self</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="console.interactive-pysrc.html#InteractiveShell._HelpCommand.get_help_message">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Getter method for the usage and instruction of using a command. This 
  is a longer docstring that describes the command, the operation of the 
  command, usage instructions, and all available options and arguments the 
  command will take.</p>
  <dl class="fields">
    <dt>Returns: <code>docstr</code></dt>
        <dd>The long description of the command including usage and 
          arguments.</dd>
    <dt>Overrides:
        <a href="console.interactive.InteractiveCommand-class.html#get_help_message">InteractiveCommand.get_help_message</a>
        <dd><em class="note">(inherited documentation)</em></dd>
    </dt>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="console-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            ><a class="navbar" target="_top" href="http://code.google.com/p/console/">console</a></th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Tue Nov 30 11:33:30 2010
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
